//
//  HomeTabBarController.m
//  KnowledgeHierarchy
//
//  Created by linyi on 2020/4/12.
//  Copyright © 2020年 linyi. All rights reserved.
//

#import "HomeTabBarController.h"
#import "NSObjectViewController.h"
#import "UIControlsViewController.h"
@interface HomeTabBarController ()

@end

@implementation HomeTabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = UIColor.whiteColor;
    NSObjectViewController *NSObjectVC = [NSObjectViewController new];
    NSObjectVC.title = @"NSObject";
    UINavigationController *ObjectNav = [[UINavigationController alloc] initWithRootViewController:NSObjectVC];
    
    UIControlsViewController *UIControlsVC = [UIControlsViewController new];
    UIControlsVC.title = @"UIControls";
    UINavigationController *UIControlsNav = [[UINavigationController alloc] initWithRootViewController:UIControlsVC];
    
    self.viewControllers = @[ObjectNav,UIControlsNav];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
